import request from '@/utils/request';
//列表
export function commonList(params){
  return request({
    url:'/user-manager/common-words/list',
    method:'get',
    params
  })
}
//删除
export function delCommonList(data){
  return request({
    url:'/user-manager/common-words/del',
    method:'delete',
    data
  })
}
//添加
export function addCommon(data){
   return request({
     url:'/user-manager/common-words/add',
     method:'post',
     data
   })
}
//编辑
export function editCommon(data){
  return request({
    url:'/user-manager/common-words/edit',
    method:'put',
    data
  })
}
